package com.kernel.entity;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/****************************************
 * @name PersonDemo
 * @description
 * @author 黄彬恒
 * @since 2018/8/29
 ***************************************/
public class PersonDemo {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("classpath:applicationContext.xml");
        Person person = context.getBean("person", Person.class);
        person.test();
        // System.out.println(person);
    }
}
